﻿using H.Daos;
using H.Daos.Attributes;

namespace HModel
{
    /// <summary>
    /// 表示系统中的图片资源的用途
    /// </summary>
    [Table("sys_res")]
    public class ResEntity : AbstractEntity
    {
        [Column("type", Type = DbType.TEXT)]
        public string Type { get; set; }

        [Column("name", Type = DbType.TEXT)]
        public string Name { get; set; }

        [Column("img_ids", Type = DbType.TEXT)]
        public string ImgIds { get; set; }


        ///<inheritdoc/>
        public override object Clone()
        {
            return EntityCloner<ResEntity>.Clone(this);
        }

    }
}
